package com.ljw.vendingmachine.widget;

import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;

import com.shuyu.gsyvideoplayer.video.StandardGSYVideoPlayer;

public class BaseVideoPlay extends StandardGSYVideoPlayer {
    public BaseVideoPlay(Context context, Boolean fullFlag) {
        super(context, fullFlag);
    }

    public BaseVideoPlay(Context context) {
        super(context);
    }

    public BaseVideoPlay(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

   public void initSetting(){
       hideAllWidget();
    }

    @Override
    protected void onClickUiToggle() {
//        super.onClickUiToggle();
    }

    @Override
    public void onClick(View v) {
//        super.onClick(v);
    }

    @Override
    public boolean onTouch(View v, MotionEvent event) {
//        return super.onTouch(v, event);
        return true;
    }

   public String getmOriginUrl(){
        return  mOriginUrl;
    }
}
